package com.xyd.model.system;
//角色

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xyd.model.base.BaseEnitity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;


@Data  // 简化javabean的第三方插件
@Schema(description = "角色")  // 对类的描述
@TableName("sys_role")  // 表和类的映射关系
public class SysRole extends BaseEnitity {
    // 序列化Id
    private static final long serialVersionUID = 1L;

    @Schema(description = "角色名称")
    @TableField("role_name")
    private String roleName;

    @Schema(description = "角色编码")
    @TableField("role_code")
    private String roleCode;
    @Schema(description = "角色描述")
    @TableField("description")
    private String description;
    
}
